/* 
 * File:   url.h
 * Author: Faraj
 *
 * Created on May 11, 2013, 4:31 PM
 */

#ifndef URL_H
#define	URL_H

#include <string>
#include <stdio.h>
#include "common/os.h"
#include "common/log.h"
#include "common/str.h"
using namespace std;

namespace lib {

    class url {
    public:
        url(string url);
        virtual ~url();
        string get_path();
        string get_base();
        string get_query();
        string get_file_path();
    private:
        string _path, _query, _base;
    };
};
#endif	/* URL_H */

